package cn.spikego.advicelite.common

import cn.spikego.advicelite.client.AdviceLite

object LogUtil {

@JvmStatic
fun log(msg: String, vararg args: Any?) {
    if (!AdviceLite.DEBUG) return
            println(msg.format(*args))
}

@JvmStatic
fun err(msg: String, vararg args: Any?) {
    if (!AdviceLite.DEBUG) return
            System.err.println(msg.format(*args))
}
}